button1.setOnClickListener { // Handler code here. val intent = Intent(context, DestActivity::class.Java) startActivity(intent); }